package org.benjamin.tenancy.domain.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 水电费记录
 * @author 黄文杰
 *
 */
@Entity
@Table(name = "tab_utilities_info")
public class UtilitiesInfo extends EntitySuppert{
	
	@Column(name = "type")
	private Type type;
	
	@Column(name = "year")
	private Integer year;
	
	@Column(name = "month")
	private Integer month;
	
	@Column(name = "number")
	private Integer number;
	
	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	public Integer getNumber() {
		return number;
	}



	public void setNumber(Integer number) {
		this.number = number;
	}



	public enum Type{
		ELECTRIC_NUMBER,WATER_NUMBER
	}

}
